package org.jeecg.modules.demo.summary.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

/**
 * @Description: 月度汇总报表
 * @Author: jeecg-boot
 * @Date:   2024-04-02
 * @Version: V1.0
 */
@Data
@TableName("monthly_summary")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="monthly_summary对象", description="月度汇总报表")
public class MonthlySummary implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**报表名称*/
	@Excel(name = "报表名称", width = 15)
    @ApiModelProperty(value = "报表名称")
    private java.lang.String reportName;
	/**社区ID*/
	@Excel(name = "社区ID", width = 15,dictTable = "community_id")
    @Dict(dicCode = "id",dicText = "depart_name",dictTable="sys_depart")
    @ApiModelProperty(value = "社区ID")
    private java.lang.String communityId;
	/**账期月份*/
	@Excel(name = "账期月份", width = 15)
    @ApiModelProperty(value = "账期月份")
    private java.lang.String month;
	/**起始日期*/
	@Excel(name = "起始日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "起始日期")
    private java.util.Date startData;
	/**结束日期*/
	@Excel(name = "结束日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "结束日期")
    private java.util.Date endData;
	/**推送人*/
	@Excel(name = "推送人", width = 15)
    @ApiModelProperty(value = "推送人")
    private java.lang.String pusher;
	/**推送时间*/
	@Excel(name = "推送时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "推送时间")
    private java.util.Date pushData;
	/**发起人*/
	@Excel(name = "发起人", width = 15)
    @ApiModelProperty(value = "发起人")
    private java.lang.String promoter;
	/**发起时间*/
	@Excel(name = "发起时间", width = 15)
    @ApiModelProperty(value = "发起时间")
    private java.lang.String promoteTime;
	/**进度*/
	@Excel(name = "进度", width = 15, dicCode = "progress_type")
	@Dict(dicCode = "progress_type")
    @ApiModelProperty(value = "进度")
    private java.lang.String progress;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    @Dict(dicCode = "username",dicText = "realname",dictTable="sys_user")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /**
     * 流程实例ID
     */
    @NotEmpty
    private java.lang.String actProcessId;

    @TableField(exist = false)
    private String userId;
    /**
     * 审核结果
     */
    @NotEmpty(message = "审核结果不能为空")
    @TableField(exist = false)
    private String pass;
    /**
     * 审核备注
     */
    @TableField(exist = false)
    private String remark;


}
